﻿using System.Web.Optimization;

namespace Home.Site.App_Start
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            BundleTable.EnableOptimizations = true;

            bundles.Add(new ScriptBundle("~/js").Include(
                "~/Scripts/bootstrap.js",
                "~/Scripts/bootstrap-carousel.js",
                "~/Scripts/jquery.validate.js",
                "~/Scripts/jquery.validate.unobtrusive.js",
                "~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js",
                "~/Scripts/jquery-migrate-1.0.0.js",
                "~/Scripts/jquery-ui-1.10.1.custom.js",
                "~/Scripts/my/custom.js"));

            bundles.Add(new ScriptBundle("~/jqueryval").Include(
                 "~/Scripts/jquery.validate.js",
                 "~/Scripts/jquery.validate.unobtrusive.js",
                 "~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js"
                ));
            
            bundles.Add(new ScriptBundle("~/jquery-photowall").Include(
                "~/Scripts/jquery-photowall/jquery-photowall.js",
                "~/Scripts/jquery-photowall/jquery-photowall-init.js"));

            bundles.Add(new ScriptBundle("~/bundles/vk_upback").Include(
                       "~/Scripts/vk_up_back/vk_up_back.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

           //

            bundles.Add(new StyleBundle("~/css-site").Include(
                "~/Content/Site.css",
                "~/Content/bootstrap.css",
                "~/Content/bootstrap-responsive.css"
                ));

            bundles.Add(new StyleBundle("~/content/fileupload-ui").Include(
                "~/Scripts/FileUpload/jquery.fileupload-ui.css"));

            bundles.Add(new StyleBundle("~/content/photowall-ui").Include(
                "~/Scripts/jquery-photowall/jquery-photowall.css"));

       }
    }
}